package org.feng.entity.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author feng
 * @Date 2022/6/30 10:33
 * @Description TODO
 */
@Data
public class LoginRequest {

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    private String code;

    /**
     * 随机key
     */
    @NotBlank(message = "key不能为空")
    private String key;
}
